package org.ssmd3.service;

import org.ssmd3.pojo.NewsType;

import java.util.List;


public interface NewsTypeService {

    int getRecordCount(NewsType newsType);

    List<NewsType> getNewsTypeListByPage(NewsType newsType);

    List<NewsType> getTopNewsTypeList();

    int save(NewsType newsType);

    int update(NewsType newsType);

    NewsType getOneNewsType(int id);

    int delete(int id);

    int deleteAll(String[] ids);

    List<NewsType> getAllNewsTypeList();

}
